package com.lucenly.spell.activity

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.lucenly.spell.base.BaseActivity
import com.lucenly.spell.databinding.ActivityBillCenterBinding
import com.moregold.mvvmlib.ext.ext_doubleClick
import com.moregold.mvvmlib.ext.startActivity

class BillCenterActivity : BaseActivity<ActivityBillCenterBinding>() {
    override fun getViewBinding(): ActivityBillCenterBinding {
        return ActivityBillCenterBinding.inflate(layoutInflater,baseBinding.contentMain,true)
    }

    override fun setTitle(): String {
        return "账户中心"
    }

    override fun initData() {
    }

    override fun initEvent() {
        binding.llRecharge.ext_doubleClick {
            startActivity<RechargeActivity>()
        }
        binding.llWithdraw.ext_doubleClick {
            startActivity<WithdrawActivity>()
        }
        binding.llTxRecord.ext_doubleClick {
            startActivity<RecordActivity>("type" to 1)
        }
    }

    override fun startObserve() {
    }
    override fun getStatusType(): Int {
        return 3
    }
}